package com.tubruk.object;

import java.io.File;

public class FileWrapper {
	private File file;
	private String name;
	
	public FileWrapper (String name){
		this.name = name;
	}
	
	public void setFile(File file){
		this.file = file;
	}
	
	public String getName(){
		return this.name;
	}
	
	public File getFile(){
		return this.file;
	}
	
	public boolean isDirectory(){
		if (file != null){
			return file.isDirectory();
		}
		return false;
	}

}
